<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@include file="/includes.jsp"%>

<div class="layout">
    <table class="styled" cellspacing="0">
        <tr>
            <th class="styled">Value</th>
            <th class="styled">Notification Mechanism</th>
            <th class="styled">Show Type</th>
            <th class="styled">Show In Directory</th>
        </tr>
        <logic:iterate name="contactDetailTypes" id="cdt">
            <tr>
                <td class="styled"><beans:write name="cdt" property="name"/></td>
                <td class="styled"><beans:write name="cdt" property="notificationMechanism"/></td>
                <td class="styled" style="text-align: center;">
                    <logic:equal name="cdt" property="showType" value="true">
                        <html:img page="/icons/enabled-16x16.png"/>
                    </logic:equal>
                    <logic:equal name="cdt" property="showType" value="false">
                        <html:img page="/icons/disabled-16x16.png"/>
                    </logic:equal>
                </td>
                <td class="styled" style="text-align: center;">
                    <logic:equal name="cdt" property="showInDirectory" value="true">
                        <html:img page="/icons/enabled-16x16.png"/>
                    </logic:equal>
                    <logic:equal name="cdt" property="showInDirectory" value="false">
                        <html:img page="/icons/disabled-16x16.png"/>
                    </logic:equal>
                </td>
            </tr>
        </logic:iterate>
    </table>
</div>
